package com.zrrd.test02;

/**
 * @author WanJl
 * @version 1.0
 * @title EatableDemo
 * @description
 * @create 2024/6/1
 */
public class EatableDemo {
    public static void main(String[] args) {
        useEatable(
                ()->{
                    System.out.println("hahhahahahah");
                    System.out.println("hahhahahahah");
                    System.out.println("hahhahahahah");
                    System.out.println("hahhahahahah");
                    System.out.println("hahhahahahah");
                });
    }
    public static void useEatable(Eatable e){
        e.eat();
    }
}
